package org.dromara.app.domain.bo;

import org.dromara.app.domain.SkShop;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 商家信息业务对象 sk_shop
 *
 * @author Evacuation
 * @date 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SkShop.class, reverseConvertGenerate = false)
public class SkShopBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 封面
     */
    @NotBlank(message = "封面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cover;

    /**
     * 营业时间
     */
    @NotBlank(message = "营业时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String businessHours;

    /**
     * 联系电话
     */
    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 地址
     */
    @NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 经度
     */
    @NotBlank(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String longitude;

    /**
     * 纬度
     */
    @NotBlank(message = "纬度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String latitude;

    /**
     * 介绍
     */
    private String content;

    /**
     * 城市
     */
    @NotBlank(message = "城市不能为空", groups = { AddGroup.class, EditGroup.class })
    private String city;


    private String title;


    /**
     * 是否推荐
     * 0：否
     * 1：是
     */
    private int isTj;

    /**
     * 推荐序号
     */
    private Long sort;

    /**
     * 约局类型
     */
    private String type;

    /**
     * 约玩项目
     */
    private String project;

    /**
     * 评分
     */
    private BigDecimal score;

    /**
     * 标签
     */
    private String tag;

    /**
     * 榜单说明
     */
    private String bdTitle;


    /**
     * 人均消费
     */
    private BigDecimal price;
}
